package mware_lib;

import java.io.Serializable;

public class StubMessage implements Serializable {

    private static final long serialVersionUID = -3202721891704597899L;
    private NameServiceMessage reference;
    private String method = "";
    private Class<?>[] types;
    private Object[] values;

    public StubMessage(NameServiceMessage reference, String method, Class<?>[] types, Object[] values) {
        super();
        this.reference = reference;
        this.method = method;
        this.types = types;
        this.values = values;
    }

    public NameServiceMessage getReference() {
        return reference;
    }

    public String getMethod() {
        return method;
    }

    public Class<?>[] getTypes() {
        return types;
    }

    public Object[] getValues() {
        return values;
    }
}
